import {
  Component
} from 'react';
import { Provider } from 'react-redux';
import { store } from '@/utils/store';
// import 'taro-ui/dist/style/index.scss';

// import { changeHeight, selectHeight } from './slice';
import './app.less';

class App extends Component {

  componentDidMount() {}

  componentDidShow() {}

  componentDidHide() {}

  componentDidCatchError() {}

  render() {
    return (
      <Provider store={store}>
        {/* this.props.children 是将要被渲染的页面 */}
        {this.props.children}
      </Provider>
    );
  }
}

export default App;
